import request from '@/utils/request'

// 查询最终结果记录列表
export function listRecordresult(query) {
  return request({
    url: '/recordresult/recordresult/list',
    method: 'get',
    params: query
  })
}

// 查询最终结果记录详细
export function getRecordresult(id) {
  return request({
    url: '/recordresult/recordresult/' + id,
    method: 'get'
  })
}

// 新增最终结果记录
export function addRecordresult(data) {
  return request({
    url: '/recordresult/recordresult',
    method: 'post',
    data: data
  })
}

// 修改最终结果记录
export function updateRecordresult(data) {
  return request({
    url: '/recordresult/recordresult',
    method: 'put',
    data: data
  })
}

// 删除最终结果记录
export function delRecordresult(id) {
  return request({
    url: '/recordresult/recordresult/' + id,
    method: 'delete'
  })
}
